﻿using System.Windows;
using System.Windows.Controls.Primitives;

namespace Flare.Controls
{
    public partial class MenuButton : ButtonBase
    {
        public MenuButton()
        {
            InitializeComponent();
        }

        public string Header
        {
            get
            {
                return (string)this.GetValue(HeaderProperty);
            }

            set
            {
                this.SetValue(HeaderProperty, value);
            }
        }
        
        public static readonly DependencyProperty HeaderProperty = DependencyProperty.Register(
          "Header", typeof(string), typeof(MenuButton), new PropertyMetadata(string.Empty));

        public System.Windows.Media.ImageSource ICOSource
        {
            get
            {
                return (System.Windows.Media.ImageSource)this.GetValue(ICOSourceProperty);
            }

            set
            {
                this.SetValue(ICOSourceProperty, value);
            }
        }

        public static readonly DependencyProperty ICOSourceProperty = DependencyProperty.Register(
          "ICOSource", typeof(System.Windows.Media.ImageSource), typeof(MenuButton), null);
    }
}
